<!DOCTYPE html>
<html class="bg-black">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
        <!--<meta charset="UTF-8">-->
        <title>Crear Cuenta</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="{{asset('bundles/cursomain/css/bootstrap.min.css')}}" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="{{asset('bundles/cursomain/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="{{asset('bundles/cursomain/css/AdminLTE.css')}}" rel="stylesheet" type="text/css" />

    </head>

</html>


{% block body %}
    <body class="bg-black">

        <div class="form-box" id="login-box">
            <div class="header bg-purple">Registrarse</div>
            <form action="{{ path('curso_main_nuevoUsuario')}}" method="post">
                <div class="body bg-gray">
                    <div class="form-group">Correo Electronico
                        <input type="text" name="userid" class="form-control" placeholder="e-mail" required/>
                    </div>
                    <div class="form-group">Contrase&ntilde;a
                        <input type="password" name="password" class="form-control" placeholder="Contrase&ntilde;a" required/>
                    </div>
                    <div class="form-group">Repita la contrase&ntilde;a
                        <input type="password" name="password1" class="form-control" placeholder="Contrase&ntilde;a" required/>
                    </div>         
                    <div class="form-group">
 						{%  if errors is defined %}
 						   
     					   <div class="alert alert-danger alert-dismissable">{{ errors }}</div>
     					   
   						 {% else %}
      						 
    				   {% endif %}
                    </div>
                    
                </div>
                <div class="footer">                                                               
                    <button type="submit" class="btn bg-purple btn-block" name="enviar">Crear cuenta</button>                
                </div>
            </form>         
        </div>
        
       <!-- jQuery 2.0.2 -->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
        <script src="{{asset('bundles/cursomain/js/bootstrap.min.js')}}" type="text/javascript"></script>
       
    </body>
{% endblock %}